Normal
Create normal map using greyscale value as height.
Node Data | |
|---|---|
Display name | |
Normal | |
Internal name | |
Node_Normal | |
Inheritances | |
| Node_Processor | |
| Node_Normal | |
Inputs | |
Surfaces | |
surface |
Surface In |
Normal | |
float |
Height |
slider |
Smooth |
bool |
Trim Flat |
Rendering | |
bool |
Flip X |
bool |
Flip Y |
bool |
Normalize |
bool |
Solid Bg |
Outputs | |
surface |
Surface Out |
Attributes | |
| Color Depth | |
| Oversample | |

Create normal map from greyscale height map.

Properties
| Normal | |
| Height | Amplify the height of the normal vector. |
| Smooth | Increase normal smoothness by sampling more height data. |
| Trim Flat | Force flat area to have perpendicular normal. |
| Rendering | |
| Flip X | Flip output normal x axis. |
| Flip Y | Flip output normal y axis. |
| Normalize | Scale normal vector back to have unit length. |
| Solid Bg | Replace transparent area with perpendicular normal. |
Commit History
| 1.21.1.002 |
|
|---|
Related Links
- Base Code: /scripts/node_normal/node_normal.gml
- Shader [sh_normal]: /shaders/sh_normal/sh_normal.fsh